let dog = {
    name: "Spot",
    numLegs: 4,
    sayLegs(){
        return `This dog has 4 legs.`;
    }
};

dog.sayLegs();